﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BaseEntityApi
{
    public class ComSubHelpr
    {
        /// <summary>
        /// 获取所有的数据
        /// </summary>
        /// <returns></returns>
        public static TestTempData[] GetData()
        {
            List<TestTempData> dataList = new List<TestTempData>();
            dataList.Add(new TestTempData() { InnerID = Guid.NewGuid().ToString(), ID = "001", Details = "详细信息1！", Title = "测试的标题001", Name = "00" });
            dataList.Add(new TestTempData() { InnerID = Guid.NewGuid().ToString(), ID = "002", Details = "详细信息2！", Title = "测试的标题002", Name = "00" });
            dataList.Add(new TestTempData() { InnerID = Guid.NewGuid().ToString(), ID = "003", Details = "详细信息3！", Title = "测试的标题003", Name = "00" });
            dataList.Add(new TestTempData() { InnerID = Guid.NewGuid().ToString(), ID = "004", Details = "详细信息4！", Title = "测试的标题004", Name = "00" });
            dataList.Add(new TestTempData() { InnerID = Guid.NewGuid().ToString(), ID = "005", Details = "详细信息5！", Title = "测试的标题005", Name = "00" });
            return dataList.ToArray();
        }
    }
}
